package cn.lili.modules.goods.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.goods.client.GoodsCollectionClient;
import cn.lili.modules.member.entity.dos.GoodsCollection;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-14 10:25
 * @description: 会员商品收藏Fallback
 */
public class GoodsCollectionFallback implements GoodsCollectionClient {

    @Override
    public boolean isCollection(String skuId) {
        throw new ServiceException();
    }

    @Override
    public GoodsCollection addGoodsCollection(String skuId) {
        throw new ServiceException();
    }

    @Override
    public boolean deleteGoodsCollection(List<String> goodsIds) {
        throw new ServiceException();
    }

    @Override
    public boolean deleteSkuCollection(List<String> skuIds) {
        throw new ServiceException();
    }
}
